home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_10_06
/
1006032b
< prev
next >
Wrap
Text File
|
1992-04-12
|
326b
|
8 lines
maxn(2, 3, 5); /* returns 5, as would max(3,5) */
maxn(5, 3, 5, 7, 11, 13) /* returns 13, largest of the 5 values. */
maxn(3, 3, 5, 7, 11, 13) /* returns 7, largest of first 3 values. */
maxn(1, 17); /* also works with fewer than two values. */